
import request from '@/utils/request';

// 获取列表
export function listData(query) {
  return request({
    url: `/system-set/params-manager${query}`,
    method: 'get',
  });
}

// 获取参数配置类型
export function getConfigTypeList(){
  return request({
    url:`/system-set/params-manager/type/map`,
    method:'get'
  })
}

// 创建
export function postCreate(form){
  return request({
    url:`/system-set/params-manager`,
    method:'post',
    data:form
  })
}

// 修改
export function putEdit(id,form){
  return request({
    url:`/system-set/params-manager/${id}`,
    method:'put',
    data:form
  })
}

// 删除
export function deleteList(form){
  return request({
    url:`/system-set/params-manager`,
    method:'delete',
    data:form
  })
}

